package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基础班次对象 ha_schtype
 * 
 * @author 鲍小伟
 * @date 2025-11-14
 */
public class HaSchtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long sid;

    /** 班次编码 */
    @Excel(name = "班次编码")
    private String shiftCode;

    /** 班次名称 */
    @Excel(name = "班次名称")
    private String shitName;

    /** 所在院区 */
    @Excel(name = "所在院区")
    private String hid;

    /** 所在科室 */
    @Excel(name = "所在科室")
    private Integer kid;

    /** 班次开始时间 */
    @JsonFormat(pattern = "HH:mm")
    @Excel(name = "班次开始时间", width = 30, dateFormat = "HH:mm")
    private String startTime;

    /** 班次结束时间 */
    @JsonFormat(pattern = "HH:mm")
    @Excel(name = "班次结束时间", width = 30, dateFormat = "HH:mm")
    private String endTime;

    /** 是否晚班 */
    @Excel(name = "是否晚班")
    private String isNight;

    /** 是否假日班 */
    @Excel(name = "是否假日班")
    private String isHoliday;

    /** 可接诊数量 */
    @Excel(name = "可接诊数量")
    private Long defaultnum;

    /** 班次状态 */
    @Excel(name = "班次状态")
    private String status;

    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }

    public void setShiftCode(String shiftCode) 
    {
        this.shiftCode = shiftCode;
    }

    public String getShiftCode() 
    {
        return shiftCode;
    }

    public void setShitName(String shitName) 
    {
        this.shitName = shitName;
    }

    public String getShitName() 
    {
        return shitName;
    }

    public void setHid(String hid)
    {
        this.hid = hid;
    }

    public String getHid()
    {
        return hid;
    }

    public void setKid(Integer kid) 
    {
        this.kid = kid;
    }

    public Integer getKid() 
    {
        return kid;
    }

    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }

    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getEndTime()
    {
        return endTime;
    }

    public void setIsNight(String isNight)
    {
        this.isNight = isNight;
    }

    public String getIsNight()
    {
        return isNight;
    }

    public void setIsHoliday(String isHoliday)
    {
        this.isHoliday = isHoliday;
    }

    public String getIsHoliday()
    {
        return isHoliday;
    }

    public void setDefaultnum(Long defaultnum) 
    {
        this.defaultnum = defaultnum;
    }

    public Long getDefaultnum() 
    {
        return defaultnum;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("shiftCode", getShiftCode())
            .append("shitName", getShitName())
            .append("hid", getHid())
            .append("kid", getKid())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("isNight", getIsNight())
            .append("isHoliday", getIsHoliday())
            .append("defaultnum", getDefaultnum())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
